.container{
  width: 300px;
  height: 500px;
  background: linear-gradient(to top,yellow,pink);
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  justify-content:space-around;
}
.container>input{
  width: 100%;
  height: 30px;
}
.container >span{
  width: 80px;
  height: 80px;
  margin: 5px;
  line-height: 80px;
  text-align: center;
  background: linear-gradient(to right,gray,white);
}
.container >span:last-child{
  flex-grow: 1;
}
